#include "BLoadSound.h"
#include "LoadSoundState.h"
#include "Game.h"

BLoadSound::BLoadSound()
{
	m_name = " Load Sound";
}

BLoadSound::~BLoadSound()
{

}

void BLoadSound::Update()
{
	m_pos.y = -0.9f;
	m_pos.x = 0.0f;
	
	if (m_mouseDidIntersect && m_mouseButtonWasReleased)
	{
		m_mouseButtonWasReleased = false;
		m_mouseDidIntersect = false;

		TheGame::Instance()->SetGameState(TheLoadSoundState::Instance());		
	}
}